import instance from '@/request/request'

/**
 * 初始化回避条件信息
 * @param id
 * @returns {Promise<AxiosResponse<any>> | *}
 * @constructor
 */
export const InitAvoidInfoApi=(id)=>{
  return instance({
    url:`/api/avoid/initAvoid/${id}`,
    method:'get'
  })


}
export const AddAvoidApi=(data)=>{
  return instance({
    url:"/api/avoid/addAvoid",
    method:'post',
    data
  })
}

